#include "my_list.h"
#define HASH_TABLE_SIZE 13

/* PROTOTYPES */

/*an initializing function for an array of my_lists*/
void DS_init(my_list table[]);

/*inserts the id and name to the table
 *return 1 on success
 *return 0 on failure
 */
int DS_insert(unsigned id, char* name, my_list table[]);

/*delete the id's record from the table
 *return 1 on success
 *return 0 on failure
 */
int DS_delete(unsigned id, my_list table[]);

/*retrieve the id's name from the table
 *return the char * of id if exists
 *return '\0' if id isn't in the talbe
 */
char *DS_get_record(unsigned id, my_list table[]);

/*free the mem. used by the table*/
void DS_free(my_list table[]);
